/**
 * Created by Administrator on 2017/4/4.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import vuestate from '@/vuex/state/state'
import vuexmutations from '@/vuex/mutations/mutations'
import vueactions from '@/vuex/actions/actions'
import vuegetters from '@/vuex/getters/getters'
Vue.use(Vuex)
const store = new Vuex.Store({}) // 这里你可能已经有其他 module
store.registerModule('vux', { // 名字自己定义
    state: vuestate,
    mutations: vuexmutations,
    actions: vueactions,
    getters: vuegetters
})
export default store